package com.warren.context.annotation;

import java.lang.annotation.*;

/**
 * @author warren
 * @create 2021-08-28 22:01
 * @Description 配置作用域的自定义注解，方便通过配置Bean对象注解的时候，拿到Bean对象的作用域
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Scope {

    String value() default "singleton";
}
